<%
    boolean passed = true;
    if (!"value-of-one".equals(session.getAttribute("one"))) {
        out.println("expected value for 'one' -> 'value-of-once' found "  + session.getAttribute("one") + "<br/>");
        passed = false;
    }
    if (!"value-of-two".equals(session.getAttribute("two"))) {
        out.println("expected value for 'two' -> 'value-of-two' found "  + session.getAttribute("two") + "<br/>");
        passed = false;
    }
    if (!"value-of-three".equals(session.getAttribute("three"))) {
        out.println("expected value for 'three' -> 'value-of-three' found "  + session.getAttribute("three") + "<br/>");
        passed = false;
    }
    if (!"value-of-four".equals(session.getAttribute("four"))) {
        out.println("expected value for 'four' -> 'value-of-four' found "  + session.getAttribute("four") + "<br/>");
        passed = false;
    }
    if (!"value-of-five".equals(session.getAttribute("five"))) {
        out.println("expected value for 'five' -> 'value-of-five' found "  + session.getAttribute("five") + "<br/>");
        passed = false;
    }

    if (passed)
        response.sendRedirect("step3.jsp");
%>